<?php
// *** Tangra (Application Framework and Tools for PHP)
// $Id$
//


require_once(TANGRA_MAIN_DIR.'core/config_loader_file.class.php');
require_once('directory_structure_base_config.class.php');


class Directory_Structure_Base_Config_Loader_File extends Config_Loader_File {
	public function load_config(Directory_Structure_Base_Config $config) {
		$config->set_root($this->get_conf_value('ROOT'));
		$config->set_document_root($this->get_conf_value('DOCUMENT_ROOT', false));
		$config->set_ducument_root_relative($this->get_conf_value('DOCUMENT_ROOT_RELATIVE', false));
		$config->set_hidden($this->get_conf_value('HIDDEN', false));
		$config->set_scratch($this->get_conf_value('SCRATCH', false));
		$config->set_ext_inc($this->get_conf_value('EXT_INC', false));
	}
}

